<?php

namespace app\common\model\mysql;

use think\Model;

class Supplierin extends Model
{
    // 设置当前模型对应的完整数据表名称
    protected $table = 'p_supplierin';

    /**
     * 新增供货商入库单
     * @param $data
     * @return mixed
     * @throws \think\Exception
     */
    public function addSupplierinData($data){
        $this->save($data);
        return $this->id;
    }
}
